package nc.ui.tools.FunSwitch.after;

import nc.ui.pub.bill.BillEditEvent;
import nc.ui.tools.FunSwitch.FunSwitch;
import nc.ui.tools.FunSwitch.IFunSwitch;
import nc.ui.tools.MyUI.FakeUI_BillManageUI;
import nc.ui.trade.manage.BillManageUI;

public abstract class ManageUIAfterISwitch extends FakeUI_BillManageUI implements IFunSwitch{

	public ManageUIAfterISwitch(BillManageUI manageUI) {
		super(manageUI);
	}
	public void update(FunSwitch obj, Object action){
		nc.ui.tools.FunSwitch.after.AfterSwitch aSwitch = (AfterSwitch) obj;
		BillEditEvent e = aSwitch.e;
			try {
				deal(e);
			} catch (Exception e1) {
				e1.printStackTrace();
			}
	}
	public abstract void deal(BillEditEvent e)throws Exception;
	

}
